home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1308.dms / var1308.adf / DNET2_10.LHA / DNet / Amiga / Sourcen.lha / lib / dnaaccept.c < prev    next >
C/C++ Source or Header  |  1993-01-14  |  357b  |  22 lines

  1.  
  2. /*
  3.  *  DNAAccept.C
  4.  */
  5.  
  6. #include "lib.h"
  7.  
  8. int
  9. DNAAccept(lisport)
  10. PORT *lisport;
  11. {
  12.     IOSTD *ior;
  13.  
  14.     if (ior = (IOSTD *)GetMsg(lisport)) {
  15.     ior->io_Error = 1;
  16.     ReplyMsg((MSG *)ior);
  17.     }
  18.     if (lisport->mp_MsgList.lh_Head != (NODE *)&lisport->mp_MsgList.lh_Tail)
  19.     SetSignal(1 << lisport->mp_SigBit, 1 << lisport->mp_SigBit);
  20.     return(ior != NULL);
  21. }
  22.